<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<title>Insert title here</title>
</head>
<body>

	<table cellspacing="0" >
		<thead>
			<tr>
				<th>订单ID</th> 
				<th>购买数量</th>
				<th>客户姓名</th>
				<th>商品名称</th>
				<th>购买日期</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="confirmlist">
				
				<tr>
					
					<td align="right"><s:property value="OrderId" /></td>
					<td align="right"><s:property value="amount" /></td>
					<td align="right"><s:property value="Client.name" /></td>
					<td align="right"><s:property value="GoodsInfo.goodsName" /></td>
					<td align="right"><s:property value="shoppingDate" /></td>
					<td>
						<form action="Terminateorders" method="get">
							<input type="hidden" name="OrderId" value="<s:property value="OrderId" />">
							<input type="submit" value="关闭订单" class="btn btn-danger">
						</form>
					</td>
				</tr>
				
			</s:iterator>
		</tbody>
	</table>

</body>
</html>